package cn.tedu.spring.dibase;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestUserService {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext acac = new AnnotationConfigApplicationContext("cn/tedu/spring/dibase");
        UserService userService = acac.getBean(UserService.class);
        System.out.println("userService = " + userService);
    }
}
